<template>
  <basePage :show-tabbar="false" :page-params="pageParams">
    <view>
      <view class="content-box">
        <OrderProductItem
          :editor-status="editorStatus"
          :order-items-detail-data.sync="vuex_allGoodsList"
          :view-all-goods-visible="false"
        />
      </view>
    </view>
  </basePage>
</template>

<script>
import basePage from '@/components/base-page';
import OrderProductItem from '@/components/yc-product-list/yc-product-item'
export default {
  components: {
    basePage,
    OrderProductItem
  },
  mounted() {
    uni.setNavigationBarTitle({
      title: '共' + this.vuex_allGoodsList.length + '件商品'
    })
  }
}
</script>

<style>
.search-box {
  width: 100%;
  height: 88rpx;
  background: #ffffff;
  box-shadow: 0 0 20rpx 2rpx rgba(0, 0, 0, 0.02);
  padding-top: 20rpx;
  font-family: PingFangSC-Regular;
  display: flex;
  color: #333333;
}
.search-btn {
  height: 60rpx;
  line-height: 60rpx;
  font-weight: 700;
  font-size: 30rpx;
  padding-top: 8rpx;
}
.search-border {
  overflow: hidden;
  padding-top: 8rpx;
  position: relative;
  width: 650rpx;
  height: 80rpx;
}
.search-border .imgLeft {
  width: 48rpx;
  height: 48rpx;
  background-size: 48rpx 48rpx;
  position: absolute;
  top: 16rpx;
  left: 40rpx;
}
.search-border .imgRight {
  width: 48rpx;
  height: 48rpx;
  background-size: 48rpx 48rpx;
  position: absolute;
  top: 15rpx;
  left: 568rpx;
  z-index: 100;
}
.search-box input {
  font-size: 26rpx;
  min-height: 46rpx;
  width: 540rpx;
  height: 54rpx;
  border: 1rpx solid #f3cf83;
  margin-left: 34rpx;
  margin-right: 20rpx;
  margin-bottom: 24rpx;
  border-radius: 40rpx;
  padding-left: 52rpx;
  padding-top: 6rpx;
  color: #adadad;
}
.content-box {
  width: 670rpx;
  /* height: 632px; */
  background: #ffffff;
  box-shadow: 0 0 20rpx 2rpx rgba(0, 0, 0, 0.02);
  border-radius: 16rpx;
  margin: 20rpx 20rpx;
  padding: 20rpx;
}
.content-box-title {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-size: 26rpx;
  margin-bottom: 34rpx;
}
.content-box-title image {
  width: 30rpx;
  height: 30rpx;
  background-size: 30rpx 30rpx;
  vertical-align: bottom;
}
.font-size-color {
  color: #ff6010;
  margin-right: 24rpx;
}
.content-list {
  width: 666rpx;
  height: 140rpx;
  margin-top: 26rpx;
  display: flex;
  justify-content: space-between;
}
.content-list-left {
  width: 140rpx;
  height: 140rpx;
  background: silver;
}
.content-list-middle {
  width: 324rpx;
  height: 140rpx;
  margin: 0 20rpx;
}
.content-list-middle-name {
  font-weight: 400;
  font-size: 26rpx;
  height: 72rpx;
}
.content-list-middle-number {
  font-weight: 400;
  font-size: 20rpx;
  color: #999999;
  margin-top: 8rpx;
}
/* .content-list-middle-specification{
	font-weight: 400;
	font-size: 10px;
	color: #999999;
} */
.content-list-right {
  width: 160rpx;
  height: 140rpx;
  text-align: right;
  position: relative;
}
.content-list-right-money {
  font-weight: 400;
  font-size: 20rpx;
}
.content-list-right-number {
  font-weight: 400;
  font-size: 20rpx;
  color: #999999;
}
.content-list-right-depot {
  font-weight: 400;
  font-size: 22rpx;
  color: #ff6010;
  height: 30rpx;
  border: 1rpx solid #ff6010;
  margin-top: 48rpx;
  margin-left: 46rpx;
  text-align: center;
}
.content-list-right-editor {
  width: 156rpx;
  height: 40rpx;
  display: flex;
  border-top: 1rpx solid #e7e7e7;
  border-left: 1rpx solid #e7e7e7;
  border-bottom: 1rpx solid #e7e7e7;
  text-align: center;
  position: absolute;
  top: 98rpx;
}
.content-list-right-editor input {
  border-right: 1rpx solid #e7e7e7;
  width: 25%;
}
.font-size-color {
  margin-right: 10rpx;
}
</style>

